<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
    <title>ThinkPHP框架</title>
    <meta name="desc" content="[desc]">
    <meta name="keywords" content="开源WEB开发框架">
    <link rel="icon" href="/favicon.ico">
    <link rel="stylesheet" href="/blog-doing/Public/Admin/css/vendor/bootstrap/dist/bootstrap.css">
    <link rel="stylesheet" href="/blog-doing/Public/Admin/css/vendor/Animate.css">
    <link rel="stylesheet" href="/blog-doing/Public/Admin/css/basic.css">
    <link rel="stylesheet" href="/blog-doing/Public/Admin/css/vendor/font_awesome/css/font-awesome.css">
    <link rel="stylesheet" href="/blog-doing/Public/Common/js/layui/css/layui.css">
    <!--[if lt IE 9]>
    <script src="/blog-doing/Public/Admin/js/vendor/html5shiv.min.js"></script>
    <script src="/blog-doing/Public/Admin/js/vendor/respond.min.js"></script>
    <![endif]-->
    <script>
        window.common_conf = {
        };
    </script>
</head>

<body>
    <header id="page_header">
        <div class="logow animated fadeInLeft"><a href="#"><img src="/blog-doing/Public/Admin/logo.png" width="56"></a></div>
        <div class="right_side">
            <!--<span class="fullScreen_btn"><i class="fa fa-arrows-alt"></i></span>-->
            <span class="logout_btn"><i class="fa fa-sign-out logout"></i></span>
            <span class="toggleMenu_btn"><i class="fa fa-bars"></i></span>
        </div>
    </header>

<aside id="left_panel">
    <div class="login_info">
        <span>
            <div>
                <a href="#" data-toggle="dropdown">
                    <i class="fa fa-user"></i><span class="name">admin</span><span class="caret"></span>
                </a>
                <ul class="dropdown-menu">
                    <li><a tabindex="-1" href="<?php echo U('Admin/User/userInfo');?>">个人资料</a></li>
                    <li><a class="logout" tabindex="-1" href="">退出</a></li>
                </ul>
            </div>
        </span>
    </div>
    <nav>
        <ul>
            <li>
                <a href="<?php echo U('Admin/Index/index');?>"><i class="fa fa-lg fa-fw fa-home"></i><span>工作台</span></a>
            </li>
            <li>
                <a href="#"><i class="fa fa-lg fa-fw fa-table"></i><span>菜单管理</span><b><i class="fa fa-plus-square-o"></i></b></a>
                <ul>
                    <li><a href="<?php echo U('Admin/Menu/index');?>"><i class="fa fa-fw fa-file"></i><span>菜单列表</span></a></li>
                    <li><a href="<?php echo U('Admin/Menu/add');?>"><i class="fa fa-fw fa-file"></i><span>新增菜单</span></a></li>
                </ul>
            </li>
            <li>
                <a href="#"><i class="fa fa-lg fa-fw fa-wpforms"></i><span>表单</span><b><i class="fa fa-plus-square-o"></i></b></a>
                <ul>
                    <li><a href="#form/form1.html"><i class="fa fa-fw fa-file"></i><span>基本表单</span></a></li>
                    <li>
                        <a href="#"><i class="fa fa-fw fa-file"></i><span>编辑器</span><b><i class="fa fa-plus-square-o"></i></b></a>
                        <ul>
                            <li><a href="#form/form2.html"><i class="fa fa-fw fa-file"></i><span>summernote</span></a></li>
                            <li><a href="#form/form3.html"><i class="fa fa-fw fa-file"></i><span>kindeditor</span></a></li>
                        </ul>
                    </li>
                    <li>
                        <a href="#"><i class="fa fa-fw fa-file"></i><span>文件上传</span><b><i class="fa fa-plus-square-o"></i></b></a>
                        <ul>
                            <li><a href="#form/form4.html"><i class="fa fa-fw fa-file"></i><span>WebUploader</span></a></li>
                            <li><a href="#form/form5.html"><i class="fa fa-fw fa-file"></i><span>uploadify</span></a></li>
                            <li><a href="#form/form6.html"><i class="fa fa-fw fa-file"></i><span>kindeditor</span></a></li>
                        </ul>
                    </li>
                    <li>
                        <a href="#"><i class="fa fa-fw fa-file"></i><span>图像裁剪</span><b><i class="fa fa-plus-square-o"></i></b></a>
                        <ul>
                            <li><a href="#form/form7.html"><i class="fa fa-fw fa-file"></i><span>Jcrop</span></a></li>
                        </ul>
                    </li>
                    <li>
                        <a href="#"><i class="fa fa-fw fa-file"></i><span>选择日期</span><b><i class="fa fa-plus-square-o"></i></b></a>
                        <ul>
                            <li><a href="#form/form8.html"><i class="fa fa-fw fa-file"></i><span>bootstrap-datepicker</span></a></li>
                        </ul>
                    </li>
                </ul>
            </li>
            <li>
                <a href="#"><i class="fa fa-lg fa-fw fa-list"></i><span>UI元素</span><b><i class="fa fa-plus-square-o"></i></b></a>
                <ul>
                    <li><a href="#widget/widget1.html"><i class="fa fa-fw fa-file"></i><span>弹出框</span></a></li>
                    <li><a href="#widget/widget2.html"><i class="fa fa-fw fa-file"></i><span>树形视图</span></a></li>
                </ul>
            </li>
            <li>
                <a href="#"><i class="fa fa-lg fa-fw fa-file-text"></i><span>页面</span><b><i class="fa fa-plus-square-o"></i></b></a>
                <ul>
                    <li><a href="#page/page1.html"><i class="fa fa-fw fa-file"></i><span>站点设置</span></a></li>
                </ul>
            </li>
        </ul>
    </nav>
    <span class="minifyBtn"><i class="fa fa-arrow-circle-left"></i></span>
</aside>

<div id="main">
  <div class="content_wrapper">

      <div class="container-fluid">
          <div class="row">
              <div class="col-sm-12">
                  <aside>
                      <header><i class="fa fa-fw fa-file"></i>内联表单</header>
                      <section>
                          <div class="container-fluid">
                              <div class="row">
                                  <div class="col-sm-12">
                                      <form class="form-inline" role="form" method="get" action="../server/ajaxReturn.json" data-validate="validate1" data-callBack="callback1">
                                          <div class="form-group">
                                              <label>新闻分类</label>
                                              <select name="pid" class="form-control">
                                                  <option value="0">请选择</option>
                                                  <option value="1">行业新闻</option>
                                                  <option value="2">企业新闻</option>
                                              </select>
                                          </div>
                                          <span class="gap"></span>
                                          <div class="checkbox">
                                              <label>
                                                  <input type="checkbox" name="audit" value="1"> 是否通过审查
                                              </label>
                                          </div>
                                          <span class="gap"></span>
                                          <button type="button" class="btn btn-primary J_ajaxSubmitBtn">查询</button>
                                      </form>
                                  </div>
                              </div>
                          </div>
                      </section>
                  </aside>
              </div>
          </div>
          <div class="row">
              <div class="col-sm-12">
                  <aside>
                      <header><i class="fa fa-fw fa-file"></i>所有表单元素</header>
                      <section>
                          <div class="container-fluid">
                              <div class="row">
                                  <div class="col-sm-12">
                                      <form class="form-horizontal" role="form" method="get" action="../server/ajaxReturn.json" data-validate="validate2">
                                          <div class="form-group">
                                              <label class="col-sm-2 control-label">新闻标题</label>
                                              <div class="col-sm-3">
                                                  <input type="text" class="form-control" placeholder="新闻标题" name="title">
                                              </div>
                                              <p class="col-sm-7 help-block">必填</p>
                                          </div>
                                          <hr/>
                                          <div class="form-group">
                                              <label class="col-sm-2 control-label">新闻分类</label>
                                              <div class="col-sm-3">
                                                  <select class="form-control" name="category">
                                                      <option value="0">请选择</option>
                                                      <option value="1">1</option>
                                                      <option value="2">2</option>
                                                      <option value="3">3</option>
                                                      <option value="4">4</option>
                                                      <option value="5">5</option>
                                                  </select>
                                              </div>
                                              <p class="col-sm-7 help-block">必填</p>
                                          </div>
                                          <hr/>
                                          <div class="form-group">
                                              <label class="col-sm-2 control-label">作者</label>
                                              <div class="col-sm-3">
                                                  <input type="text" class="form-control" placeholder="作者" name="author">
                                              </div>
                                              <p class="col-sm-7 help-block">必填</p>
                                          </div>
                                          <hr/>
                                          <div class="form-group">
                                              <label class="col-sm-2 control-label">是否审核通过</label>
                                              <div class="col-sm-3">
                                                  <div class="radio">
                                                      <label>
                                                          <input type="radio" name="audit" value="1" checked>通过
                                                      </label>
                                                  </div>
                                                  <div class="radio">
                                                      <label>
                                                          <input type="radio" name="audit" value="2">未通过
                                                      </label>
                                                  </div>
                                              </div>
                                              <p class="col-sm-7 help-block">如果是未通过，则此条新闻不在网站前台显示</p>
                                          </div>
                                          <hr/>
                                          <div class="form-group">
                                              <div class="col-sm-offset-2 col-sm-10">
                                                  <div class="checkbox">
                                                      <label>
                                                          <input type="checkbox" name="remember" value="1"> 记住我
                                                      </label>
                                                  </div>
                                              </div>
                                          </div>
                                          <hr/>
                                          <div class="form-group">
                                              <label class="col-sm-2 control-label">简介</label>
                                              <div class="col-sm-10">
                                                  <textarea class="form-control"></textarea>
                                              </div>
                                          </div>
                                          <div class="form-group">
                                            <textarea id="demo" style="display: none;width:80%"></textarea>
                                          </div>
                                          <hr/>
                                          <div class="form-group">
                                              <div class="col-sm-12">
                                                  <button type="button" class="btn btn-primary J_ajaxSubmitBtn">提交</button>
                                              </div>
                                          </div>
                                      </form>
                                  </div>
                              </div>
                          </div>
                      </section>
                  </aside>
              </div>
          </div>
      </div>

  </div>

</div>
<footer id="page_footer">
    <div class="inside"><i class="fa fa-copyright"></i><a href="https://github.com/liyu365">liyu</a></div>
</footer>
<script src="/blog-doing/Public/Admin/js/vendor/jquery.min.js"></script>
<script src="/blog-doing/Public/Admin/js/vendor/bootstrap/dist/bootstrap.js"></script>
<script src="/blog-doing/Public/Admin/js/basic.js"></script>
<script src="/blog-doing/Public/Common/js/layer/layer.js"></script>
<script src="/blog-doing/Public/Common/js/layui/layui.js"></script>
<script src="/blog-doing/Public/Common/js/dialog.js"></script>
<script src="/blog-doing/Public/Admin/js/common.js"></script>

<script>
layui.use('layedit', function(){
  var layedit = layui.layedit;
  layedit.build('demo'); //建立编辑器
});
</script>
</body>
</html>